package registnet.base.courseoffering.peer;

import java.util.List;
import java.util.Vector;

import registnet.base.courseoffering.ICourseOffering;

/**
 * A class that handles processes which involves a set of course offerings.
 */
public class CourseOfferingPeer implements ICourseOfferingPeer{

	/**
	 * The list of course offerings.
	 */
	private List<ICourseOffering> courseOfferings;
	
	/**
	 * Default constructor.
	 */
	public CourseOfferingPeer(){
		courseOfferings = new Vector<ICourseOffering>();
	}
	
	@Override
	public void load() {
		// TODO Auto-generated method stub
	}

	@Override
	public void addCourseOffering(ICourseOffering courseOffering) {
		courseOfferings.add(courseOffering);
		
	}
	
}
